package cn.iocoder.yudao.framework.common.enums.jd;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 京东-生产错误码枚举类
 *
 * @author yuxm11
 */
@Getter
@AllArgsConstructor
public enum ProductionErrorCodeEnum {

    SUCCESS("JDO_200", "生产成功"),
    PRODUCING("JDO_201", "生产中"),
    AccountError("JDO_301", "生产账号错误"),
    NO_PRODUCT("JDO_302", "没有对应的商品"),
    INVALID_PARAMS("JDO_303", "传入参数不正确"),
    INVALID_SIGNATURE("JDO_304", "验证签名不正确"),
    INVALID_PRODUCT("JDO_305", "商品不可售"),
    SYSTEM_ERROR("JDO_500", "系统错误");

    private final String code;
    private final String codeMsg;

}
